package com.dalianpai.gulimall.order.feign;

import com.dalianpai.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author WGR
 * @create 2020/8/3 -- 22:29
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {

    @GetMapping("/product/spuinfo/skuId/{id}")
     R getSpuInfoBySkuId(@PathVariable("id")Long skuId);
}
